package com.bw.common.mvvm.model;


import com.bw.common.entity.BaseEntity;

import java.util.Map;

import io.reactivex.Observable;
import okhttp3.RequestBody;

public interface IModel {

    //创建requestbody
    RequestBody createBody(Map<String,Object>map);
    //转化被观察者任务
    Observable<BaseEntity>changeObservable(Observable parames);
    //合并被观察者任务
    Observable<BaseEntity>mergeObservable(Observable ... parames);
}
